find smallest sub array with given sum